//
//  SGSProfileTableViewController.h
//  AgileNYC
//
//  Created by German on 02.08.14.
//  Copyright (c) 2014 Softlegion. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface SGSProfileTableViewController : UITableViewController

@property (weak, nonatomic) IBOutlet UIButton    *btnAddProfilePhoto;
@property (weak, nonatomic) IBOutlet UIImageView *imgPhoto;
@property (weak, nonatomic) IBOutlet UITextField *edFirstName;
@property (weak, nonatomic) IBOutlet UITextField *edLastName;
@property (weak, nonatomic) IBOutlet UITextField *edEmail;
@property (weak, nonatomic) IBOutlet UITextField *edPhone;
@property (weak, nonatomic) IBOutlet UITextField *edTitle;
@property (weak, nonatomic) IBOutlet UITextField *edCompany;
@property (weak, nonatomic) IBOutlet UITextField *edWebSite;
@property (weak, nonatomic) IBOutlet UITextField *edCity;
@property (weak, nonatomic) IBOutlet UITextField *edState;
@property (weak, nonatomic) IBOutlet UITextView  *edMemo;
@property (weak, nonatomic) IBOutlet UIButton    *btnConnectToFacebook;
@property (weak, nonatomic) IBOutlet UIButton    *btnConnectToGooglePlus;
@property (weak, nonatomic) IBOutlet UIButton    *btnConnectToLinkedIn;
@property (weak, nonatomic) IBOutlet UIButton    *btnDisconnectFromFacebook;
@property (weak, nonatomic) IBOutlet UIButton    *btnDisconnectFromGooglePlus;
@property (weak, nonatomic) IBOutlet UIButton    *btnDisconnectFromLinkedIn;
@property (weak, nonatomic) IBOutlet UIImageView *imgDisconnectFromFacebook;
@property (weak, nonatomic) IBOutlet UIImageView *imgDisconnectFromGooglePlus;
@property (weak, nonatomic) IBOutlet UIImageView *imgDisconnectFromLinkedIn;

@property (weak, nonatomic) IBOutlet UIImageView *imgNoPhoto;


@property (weak, nonatomic) IBOutlet UITableView *tbProfileTableView;

@property (weak, nonatomic) IBOutlet UITableViewCell *cellLinkToSocial;

@property (assign, nonatomic) BOOL isNewUser;
@property (strong,nonatomic) UIImagePickerController * picker;

@property (weak, nonatomic) IBOutlet UIImageView *imgFacebook;
@property (weak, nonatomic) IBOutlet UIImageView *imgGooglePlus;
@property (weak, nonatomic) IBOutlet UIImageView *imgLinkedIn;

@property (weak, nonatomic) IBOutlet UIActivityIndicatorView *spinnerPhoto;
@property (weak, nonatomic) IBOutlet UIActivityIndicatorView *spinnerFacebook;
@property (weak, nonatomic) IBOutlet UIActivityIndicatorView *spinnerGooglePlus;
@property (weak, nonatomic) IBOutlet UIActivityIndicatorView *spinnerLinkedIn;

- (IBAction)btnChangePhoto:(id)sender;

- (IBAction)onConnectToFacebookButtonClick:(UIButton *)sender;
- (IBAction)onConnectToLinkedInButtonClick:(UIButton *)sender;
- (IBAction)onConnectToGooglePlusButtonClick:(UIButton *)sender;
- (IBAction)onDisconnectFromFacebookButtonClick:(UIButton *)sender;
- (IBAction)onDisconnectFromGooglePlusButtonClick:(UIButton *)sender;
- (IBAction)onDisconnectFromLinkedInButtonClick:(UIButton *)sender;


-(BOOL) saveProfile;

@end
